Adjusting entries in a forwarding information base in a content centric network

ABSTRACT

One embodiment provides a system that facilitates dynamic adjustment of forwarding information in a CCN. During operation, the system receives, by forwarding circuitry, an interest with a name that is a hierarchically structured variable length identifier which comprises contiguous name components ordered from a most general level to a most specific level. The system identifies in a first data structure an entry for one or more name components of the name, wherein the entry includes a list of outgoing interfaces associated with the one or more name components. The system determines network properties in response to forwarding the interest to a first interface of the list. The system reorders the list in order of priority based on the network properties, thereby facilitating the forwarding circuitry to dynamically adjust a likelihood of using a respective interface for forwarding interests associated with the one or more name components.

RELATED APPLICATIONS

This application is a continuation application of U.S. patent application Ser. No. 15/069,628, entitled “Adjusting Entries in a Forwarding Information Base in a Content Centric Network”, filed on Mar. 14, 2016. The above application is hereby incorporated by reference herein in their entireties.

The subject matter of this application is related to the subject matter in the following applications:

-   -   U.S. patent application Ser. No. 13/847,814, entitled         “ORDERED-ELEMENT NAMING FOR NAME-BASED PACKET FORWARDING,” by         inventor Ignacio Solis, filed 20 Mar. 2013 (hereinafter “U.S.         patent application Ser. No. 13/847,814”);     -   U.S. patent application Ser. No. 12/338,175, entitled         “CONTROLLING THE SPREAD OF INTERESTS AND CONTENT IN A CONTENT         CENTRIC NETWORK,” by inventors Van L. Jacobson and Diana K.         Smetters, filed 18 Dec. 2008 (hereinafter “U.S. patent         application Ser. No. 12/338,175”); and     -   U.S. patent application Ser. No. 14/864,571, entitled “SYSTEM         AND METHOD FOR ELIMINATING UNDETECTED INTEREST LOOPING IN         INFORMATION-CENTRIC NETWORKS,” by inventor Jose J.         Garcia-Luna-Aceves, filed 24 Sep. 2015 (hereinafter “U.S. patent         application Ser. No. 14/864,571”);         the disclosures of which are herein incorporated by reference in         their entirety.

BACKGROUND Field

This disclosure is generally related to distribution of digital content. More specifically, this disclosure is related to a method and system for adjusting entries in a forwarding information base in a content centric network.

Related Art

The proliferation of the Internet and e-commerce continues to create a vast amount of digital content. Content-centric network (CCN) architectures have been designed to facilitate accessing and processing such digital content. A CCN includes entities, or nodes, such as network clients, forwarders (e.g., routers), and content producers, which communicate with each other by sending interest packets for various content items and receiving content object packets in return. CCN interests and content objects are identified by their unique names, which are typically hierarchically structured variable length identifiers (HSVLI). An HSVLI can include contiguous name components ordered from a most general level to a most specific level. A CCN forwarder (e.g., an intermediate node or a router) can receive and forward interests and content objects based on their names. The forwarder can implement a local forwarding strategy based on three data structures: a pending interest table (PIT), which records all interests that the router has forwarded but not yet satisfied; a forwarding information base (FIB), which is a routing table that maps name prefixes to outgoing interfaces; and a content store (CS), which is a temporary cache of data packets received by the forwarder.

The FIB can be populated by a name-prefix based routing protocol, and a FIB entry may include a list of multiple outgoing interfaces for a name prefix. Given an interest with a name prefix that has multiple outgoing interfaces in the corresponding FIB entry, the forwarder can determine how to forward the interest. For example, the forwarder may forward the interest to the interfaces in sequence, by forwarding the interest to the first listed interface and waiting for a response. If the forwarder receives an interest return message (indicating an upstream error or failure), or a timeout occurs, the forwarder may forward the interest to the next listed outgoing interface. However, this sequential or “serial” strategy (similar to a depth-first network traversal) may lead to inefficiencies in the network. The forwarder may instead forward the interest as a multicast message, by forwarding the interest in parallel to all listed interfaces. However, this may introduce additional and unnecessary traffic in the network, which may also lead to inefficiencies in the network.

While a CCN brings many desired features to a network, some issues remain unsolved for a forwarder in determining a forwarding strategy for forwarding interests with multiple outgoing interfaces listed in the FIB.

SUMMARY

One embodiment provides a system that facilitates dynamic adjustment of forwarding information in a CCN. During operation, the system receives, by forwarding circuitry, an interest with a name that is a hierarchically structured variable length identifier which comprises contiguous name components ordered from a most general level to a most specific level. The system identifies in a first data structure an entry for one or more name components of the name, wherein the entry includes a list of outgoing interfaces associated with the one or more name components. The system determines network properties in response to forwarding the interest to a first interface of the list of outgoing interfaces. The system reorders the list of outgoing interfaces in order of priority based on the network properties, thereby facilitating the forwarding circuitry to dynamically adjust a likelihood of using a respective interface for forwarding interests associated with the one or more name components.

In some embodiments, the system selects a second interface from the reordered list and forwards the interest to the second interface.

In some embodiments, the system records a round trip time that begins when the interest is forwarded to the first interface and ends when a responsive content object is received from the first interface. The system reorders the list to indicate that a higher priority is based on a shorter round trip time for a respective interface.

In some embodiments, the system receives from the first interface an interest return message which indicates an error condition. The system reorders the list to indicate that the first interface is of a lower priority than a second interface which has a recorded round trip time, wherein a round trip time begins when the interest is forwarded to the second interface and ends when a responsive content object is received from the second interface.

In some embodiments, the first data structure is a forwarding information base, and an entry in the forwarding information base further includes, for a respective interface of the list of outgoing interfaces, one or more of: an indicator of a round trip time that begins when the interest is forwarded to the first interface and ends when a responsive content object is received from the first interface; an indicator of receipt of an interest return message which indicates an error condition; and an indicator of a timeout of an entry in a pending interest table, wherein the timeout indicates that a responsive content object to the interest has not been received before an expiration of the entry.

In some embodiments, the one or more name components comprise a name prefix, and the one or more name components are contiguous name components beginning from the most general level.

In some embodiments, the system, in response to detecting in a second data structure a timeout of an entry for the interest after forwarding the interest to the first interface, removes the first interface from the list or reorders the first interface to a lowest priority in the list.

In some embodiments, the second data structure is a pending interest table, and an entry in the pending interest table includes the interest name, a list of incoming interfaces from which the interest is received, a list of outgoing interfaces to which the interest is forwarded, and an expiry time which indicates a lifetime for the entry in the pending interest table.

In some embodiments, the system calculates a weight for each outgoing interface based on the network properties. The system reorders the list to indicate that a higher priority is based on a greater calculated weight for a respective interface.

In some embodiments, the system performs a function based on network properties determined over a period of time, wherein the period of time is a predetermined value or a user-defined value.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1A illustrates an exemplary computing network that facilitates dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention.

FIG. 1B illustrates an exemplary computing network that facilitates dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention.

FIG. 2 illustrates an exemplary table of communication in a system which facilitates dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention.

FIG. 3 presents a flow chart illustrating a method performed by a forwarding device for dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention.

FIG. 4 presents a flow chart illustrating a method performed by a forwarding device for determining network properties and dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention.

FIG. 5 illustrates an exemplary computer and communication system that facilitates dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention.

In the figures, like reference numerals refer to the same figure elements.

DETAILED DESCRIPTION

The following description is presented to enable any person skilled in the art to make and use the embodiments, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present disclosure. Thus, the present invention is not limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

Overview

Embodiments of the present invention solve the problem of determining an efficient forwarding strategy by providing a system that allows a forwarder to dynamically adjust FIB entries based on network feedback. A FIB entry corresponds to a name prefix of an interest name, and can include a list of one or more outgoing interfaces which specify a next hop neighbor through which the forwarder can forward the interest to a destination node that can return responsive content. In the case of multiple outgoing interfaces, the forwarder can determine how to forward the interest. For example, the forwarder can use a sequential forwarding method by forwarding the interest to the first listed interface and waiting for a response. If the forwarder receives an error message, or a timeout occurs, the forwarder can forward the interest to the next listed interface. However, this sequential or serial method (which is similar to a depth-first traversal of the network) may lead to network inefficiencies. In another example, the forwarder may forward the interest simultaneously to all listed outgoing interfaces. However, this multicast or parallel method may also lead to network inefficiencies.

Embodiments of the present invention address these inefficiencies by allowing the forwarder to observe network properties in response to sending an interest via a given outgoing interface, and to use the network properties to adjust the order or priority of the list of outgoing interfaces. The forwarder can observe network properties such as a round trip time to transmit the interest and receive a corresponding content object via the given interface. The forwarder can also observe network properties such as receiving an interest return message that indicates an error condition (e.g., at an upstream node). The forwarder can also determine a timeout of a PIT entry based on an interest sent to the given outgoing interface.

The forwarder can record these network properties in the FIB entry, and reorder the list of outgoing interfaces based on the priorities. For example, given a sequential processing of ports numbered Pi-P₁, if a first interest sent to port Pi returns an interest return message, and a second interest sent to port P₂ returns a responsive content object with a round trip time of 10 milliseconds, the forwarder can reorder the list so that P₂ has a higher priority than P_(i). If a third interest sent to port P₃ returns a responsive content object with a round trip time of 5 milliseconds, the forwarder can reorder the list so that P₃ has a higher priority than both P_(i) and P₂. If a fourth interest sent to port P₄ results in a timeout of a corresponding PIT entry, the forwarder can either remove P₄ from the list or move P₄ to the end of the list. Thus, the forwarder can dynamically adjust forwarding information included in a FIB entry by using observed network properties to prioritize and reorder the list of outgoing interfaces. The system facilitates the forwarder to dynamically adjust a likelihood of using a respective interface for forwarding interests associated with a given name prefix as listed in the FIB. The forwarder can also adjust a FIB entry based on a hop count to the nearest anchor (e.g., a node that can satisfy the interest) for a respective outgoing interface, which eliminates undetected interest looping, as described in U.S. patent application Ser. No. 14/864,571.

In CCN and in examples described in this disclosure, each piece of content is individually named, and each piece of data is bound to a unique name that distinguishes the data from any other piece of data, such as other versions of the same data or data from other sources. This unique name allows a network device to request the data by disseminating a request or an Interest that indicates the unique name, and can obtain the data independent from the data's storage location, network location, application, and means of transportation. The following terms are used to describe the CCN architecture:

Content Object or “content object”: A single piece of named data, which is bound to a unique name. Content Objects are “persistent,” which means that a Content Object can move around within a computing device, or across different computing devices, but does not change. If any component of the Content Object changes, the entity that made the change creates a new Content Object that includes the updated content, and binds the new Content Object to a new unique name.

Unique Names: A name in a CCN is typically location independent and uniquely identifies a Content Object. A data-forwarding device can use the name or name prefix to forward a packet toward a network node that generates or stores the Content Object, regardless of a network address or physical location for the Content Object. In some embodiments, the name may be a hierarchically structured variable-length identifier (HSVLI). The HSVLI can be divided into several hierarchical components, which can be structured in various ways. For example, the individual name components parc, home, ccn, and test.txt can be structured in a left-oriented prefix-major fashion to form the name “/parc/home/ccn/test.txt.” Thus, the name “/parc/home/ccn” can be a “parent” or “prefix” of “/parc/home/ccn/test.txt.” Additional components can be used to distinguish between different versions of the content item, such as a collaborative document. In some embodiments, the name can include a non-hierarchical identifier, such as a hash value that is derived from the Content Object's data (e.g., a checksum value) and/or from elements of the Content Object's name. A description of a hash-based name is described in U.S. patent application Ser. No. 13/847,814. A name can also be a flat label. Hereinafter, “name” is used to refer to any name for a piece of data in a name-data network, such as a hierarchical name or name prefix, a flat name, a fixed-length name, an arbitrary-length name, or a label (e.g., a Multiprotocol Label Switching (MPLS) label).

Interest or “interest”: A packet that indicates a request for a piece of data, and includes a name (or a name prefix) for the piece of data. A data consumer can disseminate a request or Interest across an information-centric network, which CCN routers can propagate toward a storage device (e.g., a cache server) or a data producer that can provide the requested data to satisfy the request or Interest.

Face or “face”: In CCN, the term face is a generalization of the concept of an interface. A face may be a connection to a network or directly to an application party. A face may be configured to send and receive broadcast or multicast packets on a particular network interface, or to send and receive packets using point-to-point addressing in the underlying transport, or using a tunnel (for example a TCP tunnel). A face may also be the connection to a single application process running on the same machine, via an encapsulation like UDP or an OS-specific inter-process communication path. All messages arrive through a face and are sent out through a face. In this disclosure, the terms “neighbor” and “interface” are interchangeable with the term “face,” referring to an incoming or outgoing interface of an Interest.

The methods disclosed herein are not limited to CCN networks and are applicable to other architectures as well. A description of a CCN architecture is described in U.S. patent application Ser. No. 12/338,175 which is herein incorporated by reference.

Exemplary Computing Network

FIG. 1A illustrates an exemplary computing network 100 that facilitates dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention. A network 100 can include a consumer or client computing device 116, a producer or content producing device 118, and a router or other forwarding device at nodes 102, 104, 106, 108, 110, 112, and 114. Content requesting device 116 can include a smartphone 116.1, a tablet computer 116.2, and/or a personal computing device 116.p (e.g., a laptop). A node can be a computer system, an end-point representing users, and/or a device that can generate interests or originate content. A node can also be an edge router (e.g., CCN nodes 102, 104, 112, and 114) or a core router (e.g., intermediate CCN routers 106, 108, and 110). Network 100 can be a content centric network. A router can maintain a forwarding information base (FIB) and a pending interest table (PIT).

During operation, consumer or client computing device 116 can generate an interest 130 with a name 130.1 of “/a/b/c/d.” Interest 130 can travel through network 100 via nodes 102, 110, and 112 before reaching producer or content producing device 118. Node 110 can be a router or a forwarding device, and can maintain a FIB 140 with entries that include a name prefix 142 and a list of outgoing faces 144. For example, FIB 140 can include an entry for name prefix “/a” with a list of outgoing faces that includes information corresponding to each of nodes 112, 106, 108, and 114 (e.g., respectively, P₄ _(_) 112, P₁ _(_) 106, P₂ _(_) 108, and P₃ _(_) 114). The information included in the list of outgoing faces can also correspond to a port on node 110 through which an interest can be forwarded to a next hop neighbor. FIB 140 can also include an entry for name prefix “La/c” with a list of outgoing faces that includes information corresponding to each of nodes 114 and 112 (e.g., P₃ _(_) 114 and P₄ _(_) 112). As mentioned above, the FIB can be populated by a name-prefix based routing protocol, and the forwarder may use a sequential (serial) or a simultaneous multicast (parallel) method to forward an interest based on the list of outgoing faces in the corresponding FIB entry. Based on the sequential method, node 110 can forward interest 130 to node 112 via the corresponding face (e.g., P₄ _(_) 112). Interest 130 can reach device 118 via node 112, and device 118 can return a responsive content object 132 with a matching name 132.1 of “La/b/c/d” and a payload 132.2 of “<data>,” which travels back to device 116 on a reverse path as interest 130. Node 110 can observe various network properties based on sending interest 130 and receiving content object 132 via the P₄ _(_) 112 face, and node 110 can subsequently reorder the list of outgoing faces for the FIB entry corresponding to name prefix “La.”

FIG. 1B illustrates an exemplary computing network 150 that facilitates dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention. FIG. 1B corresponds to FIG. 1A and lists additional elements that illustrate embodiments of the present invention. In network 150 of FIG. 1B, node 110 is the intermediate node, router, or forwarding device that receives interest 130 from a downstream node. Node 110 maintains FIB 140 and a pending interest table (PIT) 170. FIB 140 includes entries that include a name prefix 142 and a list of outgoing faces 144. An entry for the name prefix “La” can include a list of outgoing faces Po-P, which correspond to the ports or faces depicted in FIG. 1B. For example, Po 150 is the port or face that corresponds to next hop neighbor node 106, P₁ 152 corresponds to node 108, P₂ 154 corresponds to node 114, P₃ 156 corresponds to node 112, and P, 158 corresponds to node 116 (not depicted in FIG. 1A).

A partial FIB entry 141 for name prefix “La” can correspond to one outgoing face from the list of outgoing faces and can include the following: an outgoing face 146.1; a round trip time (RTT) 146.2 that indicates an amount of time that begins when the interest is forwarded to outgoing face 146.1 and ends when a responsive content object is received from outgoing face 146.1; an interest return 146.3 indicator which indicates an error condition or a failure at an upstream node; and a PIT timeout 146.4 indicator which indicates that a responsive content object to the interest has not been received before an expiration of the corresponding PIT entry. For example, partial FIB entry 141 indicates, for name prefix “La,” information for a face of the list of outgoing faces, including: the outgoing face Po; an RTT with a default value of “null”; an interest return (IR) indicator with a default value of “0”; and a PIT entry timeout (PT) indicator with a default value of “0.” Default values indicate that no network properties have been determined for the respective face. In some embodiments, the interest return message can indicate additional network information, such as congestion, jitter, and a packet loss rate associated with upstream routers.

PIT 170 can include entries with an interest name 172, a list of incoming faces 174, a list of outgoing faces 176, and an expiry time 178. For example, an entry for the interest name “La/b/c/d” can include: an incoming face Pic (e.g., Pic 160), which corresponds to a previous hop neighbor from which interest 130 is received (e.g., node 102 as shown in FIG. 1A); outgoing faces P₀ and P_(i), which correspond to the next hop neighbors to which interest 130 is forwarded; and an expiry time with a value of “8 seconds.” The expiry time may be expressed in a relative time (such as 8 seconds) or an absolute time (such as 9:10:00:00:08 p.m. GMT). Note that the dashed lines appearing between nodes 112 and 116 indicate additional nodes (not pictured) which may be other next hop neighbors of node 110 and whose corresponding faces may also be included in the list of outgoing faces 144.

Exemplary Communication

FIG. 2 illustrates an exemplary table of communication in a system which facilitates dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention. The communication depicted in table 200 corresponds to the system of FIG. 1B. Table 200 includes entries with the following fields: a time 202; an action 204; a partial FIB entry 206 which corresponds to the outgoing face or port to which an interest is sent; and a list of faces 208 which includes the list of outgoing faces for the FIB entry, including the face corresponding to partial FIB entry 206. The list of faces 208 may be dynamically adjusted based on action 204 and changes to partial FIB entry 206.

During operation, at time T1, node 110 sends interest 130 via Po to node 106, where the fields of the partial FIB entry for Po include default values, and the list of faces is ordered as: {P₀, Pi, P2, P3, . . . , P₁). At time T2, node 110 receives an interest return message via P_(o) and sets the interest return indicator to a value of “1” to indicate the receipt of the interest return message. At time T3, node 110 reorders the list of faces and moves Po to the end of the list: {P1, P2, P3, . . . , P_(i), Pd. Next, at time T4, node 110 sends interest 130 via P_(i) to node 108, where the fields of the partial FIB entry for P_(i) include default values, and the list of faces remains as reordered at time T3. At time T5, node 110 receives a content object via Pi, and determines and sets the RTT to a value of 10 milliseconds. At time T6, node 110 determines whether it needs to reorder the list, and makes no change to the list. The list of faces remains as reordered at time T3.

At time T7, node 110 sends interest 130 via P₂ to node 114, where the fields of the partial FIB entry for P₂ include default values, and the list of faces remains as reordered at time T3. At time T8, node 110 receives a content object via P₂, and determines and sets the RTT to a value of 5 milliseconds. At time T9, node 110 reorders the list of faces and moves P₂ before P_(i) in the list: {P₂, Pi, P₃, . . . , Pi, Pol. At time T10, node 110 sends interest 130 via P₃ to node 112, where the fields of the partial FIB entry for P₃ include default values, and the list of faces remains as reordered at time T9. At time T11, node 110 detects a timeout of the corresponding PIT entry for interest 130 forwarded via P₃, and sets the PIT timeout (“PT”) indicator to a value of “1” to indicate a timeout of the corresponding PIT entry. At time T12, node 110 reorders the list of faces and moves P₃ to the end of the list: {P₂, Pi, . . . Pi, Po, P₃}. Node 110 can also remove P₃ from the list: {P₂, Pi, . . . , Pi, Po} (not shown in FIG. 2).

Thus, a forwarding device (e.g., a router or other intermediate node) can observe network properties and make adjustments to the priority of outgoing faces listed in the FIB. As depicted above, a PIT timeout will result in the lowest priority (or removal from the list), an interest return message will result in a lower priority than a responsive content object with a RTT, and a longer RTT will result in a lower priority than a shorter RTT. The forwarding device can also use additional network properties included in the interest return message to adjust the priority of the outgoing faces listed in the FIB.

Role of Forwarding Device in Facilitating Dynamic FIB Adjustments

FIG. 3 presents a flow chart 300 illustrating a method performed by a forwarding device for dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention. During operation, the system receives, by a forwarding device (or forwarding circuitry), an interest with a name that is an HSVLI which comprises contiguous name components ordered from a most general level to a most specific level (operation 302). The system identifies in a first data structure an entry for one or more name components of the name, wherein the entry includes a list of outgoing interfaces associated with the one or more name components (operation 304). The one or more name components can comprise a name prefix, and can be contiguous name components of the interest name beginning from the most general level, or can be any contiguous name components of the interest name. The first data structure can be a forwarding information base (FIB). The system forwards the interest to a first interface of the list of outgoing interfaces (operation 306). The system determines network properties in response to forwarding the interest to the first interface (operation 308). The system then reorders the list of outgoing interfaces in order of priority based on the network properties, thereby facilitating the forwarding device (or forwarding circuitry) to dynamically adjust a likelihood of using a respective interface for forwarding interests associated with the one or more name components (operation 310).

Subsequently, the system selects a second interface based on the reordered list of outgoing interfaces (operation 312), and forwards the interest to the second interface (operation 314). Given a list of outgoing interfaces, Po-P1, based on a serial or sequential method, the system can keep track of which interface is the current interface and which is the “next” interface. The system can resolve ambiguities in determining the next interface based on both the network properties previously collected for interfaces as well as the interfaces for which no network data has been collected. The system can also simultaneously send the interest to two or more interfaces of the list of interfaces based on the collected network properties, or use any method or strategy to forward the interest based on the collected network properties.

FIG. 4 presents a flow chart 400 illustrating a method performed by a forwarding device for determining network properties and dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention. During operation, the system forwards, by a forwarding device (or forwarding circuitry), an interest to a first interface of a list of outgoing interfaces corresponding to one or more name components of the interest name (operation 402). The system determines whether it receives a responsive content object (decision 404). If it does, the system records the round trip time of the interest/content object exchange in the FIB entry that corresponds to the first interface (operation 406). If the system does not receive a responsive content object (decision 404), the system determines whether it receives an interest return message (decision 408). If it does, the system records the interest return in the corresponding FIB entry for the first interface (operation 410). If the system does not receives an interest return message (decision 408), the system determines whether it detects a timeout of the PIT entry corresponding to the interest forwarded to the first interface (decision 412). If it does, the system records the PIT entry timeout in the corresponding FIB entry for the first interface (operation 414). If the system does not detect a PIT entry timeout, the operation returns to decision 404.

Upon recording the RTT, the interest return, or the PIT entry timeout in the corresponding FIB entry for the first interface, the system may optionally calculate a weight for the first interface based on the determined network properties (operation 416). The forwarding device may compute a weight for the first interface based on a window of past observations, i.e., based on network properties observed over a period of time. For example, the forwarding device may track and compute average RTTs for two outgoing interfaces, and assign a greater weight to the interface with the greater average RTT over a period which includes the past 5 minutes.

Subsequently, the system reorders the list of outgoing interfaces in order of priority based on the determined network properties (operation 418). For example, a PIT timeout will result in the lowest priority (or removal from the list), an interest return message will result in a lower priority than a responsive content object with a RTT, and a longer RTT will result in a lower priority than a shorter RTT.

Exemplary Computer and Communication System

FIG. 5 illustrates an exemplary computer and communication system that facilitates dynamically adjusting forwarding information in a content centric network, in accordance with an embodiment of the present invention. Computer and communication system 502 includes a processor 504, a memory 506, and a storage device 508. Memory 506 can include a volatile memory (e.g., RAM) that serves as a managed memory, and can be used to store one or more memory pools. Furthermore, computer and communication system 502 can be coupled to a display device 510, a keyboard 512, and a pointing device 514. Storage device 508 can store an operating system 516, a content-processing system 518, and data 528.

Content-processing system 518 can include instructions, which when executed by computer and communication system 502, can cause computer and communication system 502 to perform methods and/or processes described in this disclosure. Specifically, content-processing system 518 may include instructions for sending and/or receiving data packets to/from other network nodes across a computer network, such as a content centric network (communication module 520). A data packet can include an interest packet or a content object packet with a name which is an HSVLI that includes contiguous name components ordered from a most general level to a most specific level. A data packet can also include an interest return message, which indicates an error condition.

Specifically, content-processing system 518 may include instructions for receiving an interest with a name that is an HSVLI (communication module 520). Content-processing system 518 may include instructions for identifying in a first data structure an entry for one or more name components of the name, wherein the entry includes a list of outgoing interfaces associated with the one or more name components (FIB lookup module 522). Content-processing system 518 may also include instructions for determining network properties in response to forwarding the interest to a first interface of the list of outgoing interfaces (network property-determining module 524 and communication module 520). Content-processing system 518 may include instructions for reordering the list of outgoing interfaces in order of priority based on the network properties (interface-list managing module 526). Content-processing system 518 can further include instructions for selecting a second interface from the reordered list (interface list-managing module 526) and forwarding the interest to the second interface (communication module 520).

Content-processing system 518 can additionally include instructions for recording a round trip time that begins when the interest is forwarded to the first interface and ends when a responsive content object is received from the first interface (network property-determining module 524) and for reordering the list to indicate that a higher priority is based on a shorter round trip time for a respective interface (interface list-managing module 526).

Content-processing system 518 can include instructions for receiving from the first interface an interest return message which indicates an error condition (communication module 520) and for reordering the list to indicate that the first interface is of a lower priority than a second interface which has a recorded round trip time (interface list-managing module 526).

Content-processing system 518 may include instructions for, in response to detecting in a second data structure a timeout of an entry for the interest after forwarding the interest to the first interface (network property-determining module 524 and communication module 520), removing the first interface from the list or reordering the first interface to a lowest priority in the list (interface list-managing module 526).

Content-processing system 518 may also include instructions for calculating a weight for each outgoing interface based on the network properties (network property-determining module 524) and reordering the list to indicate that a higher priority is based on a greater calculated weight for a respective interface (interface list-managing module 526). Content-processing system 518 may include instructions for performing a function based on network properties determined over a period of time, wherein the period of time is a predetermined value or a user-defined value (network property-determining module 524).

Data 528 can include any data that is required as input or that is generated as output by the methods and/or processes described in this disclosure. Specifically, data 528 can store at least: an interest; a name for an interest that is an HSVLI which comprises contiguous name components ordered from a most general level to a most specific level; a name prefix which comprises one or more name contiguous name components from the most general level; a name prefix which comprises one or more name contiguous name components; a first data structure; a forwarding information base (FIB); an entry in the FIB; a FIB entry for a name prefix with a list of corresponding outgoing interfaces; an indicator of a round trip time that begins when the interest is forwarded to the first interface and ends when a responsive content object is received from the first interface; an indicator of receipt of an interest return message which indicates an error condition; an indicator of a timeout of an entry in a pending interest table, wherein the timeout indicates that a responsive content object to the interest has not been received before an expiration of the entry; a second data structure; a pending interest table (PIT); an entry in the PIT; a PIT entry for an interest name; a list of incoming interfaces from which the interest is received; a list of outgoing interfaces to which the interest is forwarded; an absolute or relative expiry time which indicates a lifetime for the entry in the pending interest table; a weight for a respective interface; network properties; and a relative or absolute priority for an interface on the list of outgoing interfaces.

The data structures and code described in this detailed description are typically stored on a computer-readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system. The computer-readable storage medium includes, but is not limited to, volatile memory, non-volatile memory, magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs), DVDs (digital versatile discs or digital video discs), or other media capable of storing computer-readable media now known or later developed.

The methods and processes described in the detailed description section can be embodied as code and/or data, which can be stored in a computer-readable storage medium as described above. When a computer system reads and executes the code and/or data stored on the computer-readable storage medium, the computer system performs the methods and processes embodied as data structures and code and stored within the computer-readable storage medium.

Furthermore, the methods and processes described above can be included in hardware modules or apparatus. The hardware modules or apparatus can include, but are not limited to, application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), dedicated or shared processors that execute a particular software module or a piece of code at a particular time, and other programmable-logic devices now known or later developed. When the hardware modules or apparatus are activated, they perform the methods and processes included within them.

The foregoing descriptions of embodiments of the present invention have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the present invention. The scope of the present invention is defined by the appended claims. 

What is claimed is:
 1. A system comprising: forwarding circuitry; a processor coupled to the forwarding circuitry; a storage device coupled to the processor and storing instructions that when executed by a computer cause the computer to perform a method, the method comprising: receiving, by forwarding circuitry, an interest with a name that is an identifier comprising contiguous name components; identifying in a first data structure an entry for one or more name components of the name, wherein the entry includes a list of outgoing interfaces associated with the one or more name components; determining network properties when forwarding the interest to a first interface of the list of outgoing interfaces; and reordering the list of outgoing interfaces in order of priority based on the network properties, thereby changing a likelihood of the forwarding circuitry using a respective interface for forwarding interests associated with the one or more name components.
 2. The system of claim 1, wherein the contiguous name components are ordered from a most general level to a most specific level.
 3. The system of claim 1, wherein the method further comprises: selecting a second interface from the reordered list; and forwarding the interest to the second interface.
 4. The system of claim 1, wherein determining the network properties further comprises: recording a round trip time that begins when the interest is forwarded to the first interface and ends when a responsive content object is received from the first interface; and wherein the method further comprises reordering the list to indicate that a higher priority is based on a shorter round trip time for a respective interface.
 5. The system of claim 1, wherein determining the network properties further comprises: receiving from the first interface an interest return message which indicates an error condition; and wherein the method further comprises reordering the list to indicate that the first interface is of a lower priority than a second interface which has a recorded round trip time, wherein a round trip time begins when the interest is forwarded to the second interface and ends when a responsive content object is received from the second interface.
 6. The computer system of claim 1, wherein the first data structure is a forwarding information base, and wherein an entry in the forwarding information base further includes, for a respective interface of the list of outgoing interfaces, one or more of: an indicator of a round trip time that begins when the interest is forwarded to the first interface and ends when a responsive content object is received from the first interface; an indicator of receipt of an interest return message which indicates an error condition; and an indicator of a timeout of an entry in a pending interest table, wherein the timeout indicates that a responsive content object to the interest has not been received before an expiration of the entry.
 7. The computer system of claim 1, wherein the one or more name components comprise a name prefix, and wherein the one or more name components are contiguous name components beginning from the most general level.
 8. The computer system of claim 1, wherein determining the network properties further comprises: in response to detecting in a second data structure a timeout of an entry for the interest after forwarding the interest to the first interface: removing the first interface from the list; or reordering the first interface to a lowest priority in the list.
 9. The computer system of claim 8, wherein the second data structure is a pending interest table, and wherein an entry in the pending interest table includes the interest name, a list of incoming interfaces from which the interest is received, a list of outgoing interfaces to which the interest is forwarded, and an expiry time which indicates a lifetime for the entry in the pending interest table.
 10. A computer-implemented method comprising: receiving, by forwarding circuitry, an interest with a name that is an identifier comprising contiguous name components; identifying in a first data structure an entry for one or more name components of the name, wherein the entry includes a list of outgoing interfaces associated with the one or more name components; determining network properties when forwarding the interest to a first interface of the list of outgoing interfaces; and reordering the list of outgoing interfaces in order of priority based on the network properties, thereby changing a likelihood of the forwarding circuitry using a respective interface for forwarding interests associated with the one or more name components.
 11. The method of claim 10, wherein the contiguous name components are ordered from a most general level to a most specific level.
 12. The method of claim 10, further comprising: selecting a second interface from the reordered list; and forwarding the interest to the second interface.
 13. The method of claim 10, wherein determining the network properties further comprises: recording a round trip time that begins when the interest is forwarded to the first interface and ends when a responsive content object is received from the first interface; and wherein the method further comprises reordering the list to indicate that a higher priority is based on a shorter round trip time for a respective interface.
 14. The method of claim 10, wherein determining the network properties further comprises: receiving from the first interface an interest return message which indicates an error condition; and wherein the method further comprises reordering the list to indicate that the first interface is of a lower priority than a second interface which has a recorded round trip time, wherein a round trip time begins when the interest is forwarded to the second interface and ends when a responsive content object is received from the second interface.
 15. The method of claim 10, wherein determining the network properties further comprises: in response to detecting in a second data structure a timeout of an entry for the interest after forwarding the interest to the first interface: removing the first interface from the list; or reordering the first interface to a lowest priority in the list.
 16. The method of claim 15, wherein the second data structure is a pending interest table, and wherein an entry in the pending interest table includes the interest name, a list of incoming interfaces from which the interest is received, a list of outgoing interfaces to which the interest is forwarded, and an expiry time which indicates a lifetime for the entry in the pending interest table.
 17. A non-transitory computer readable storage medium encoded with instructions that, when executed by a processor, cause the processor to perform a method comprising: receiving, by forwarding circuitry, an interest with a name that is an identifier comprising contiguous name components; identifying in a first data structure an entry for one or more name components of the name, wherein the entry includes a list of outgoing interfaces associated with the one or more name components; determining network properties when forwarding the interest to a first interface of the list of outgoing interfaces; and reordering the list of outgoing interfaces in order of priority based on the network properties, thereby changing a likelihood of the forwarding circuitry using a respective interface for forwarding interests associated with the one or more name components.
 18. The non-transitory computer readable storage medium of claim 17, wherein the contiguous name components are ordered from a most general level to a most specific level.
 19. The non-transitory computer readable storage medium of claim 17, further comprising instructions that cause the processor to perform: selecting a second interface from the reordered list; and forwarding the interest to the second interface.
 20. The non-transitory computer readable storage medium of claim 17, wherein the instructions for determining the network properties further comprises instructions that cause the processor to perform: in response to detecting in a second data structure a timeout of an entry for the interest after forwarding the interest to the first interface: removing the first interface from the list; or reordering the first interface to a lowest priority in the list. 